﻿<provibeLibraryBase:UserControlBase x:Class="SBPweb.PROvibe.Client.Modules.Administration.Controls.ConsoleTreeView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:provibeLibraryBase="clr-namespace:SBPweb.PROvibe.Client.Library.Base;assembly=SBPweb.PROvibe.Client.Library"
    xmlns:provibeLibraryControls="clr-namespace:SBPweb.PROvibe.Client.Library.Controls;assembly=SBPweb.PROvibe.Client.Library"
    xmlns:riaClientControls="clr-namespace:SBPweb.RIA.Client.Controls.Content;assembly=SBPweb.RIA.Client.Controls"
    xmlns:riaClientWindows="clr-namespace:SBPweb.RIA.Client.Controls.Windows;assembly=SBPweb.RIA.Client.Controls"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">

    <ScrollViewer x:Name="svTreeView" Background="#DDFFFFFF" Padding="0" Margin="0" BorderThickness="1" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
        <StackPanel Orientation="Vertical">
            <riaClientControls:ExpandableContainer x:Name="ecClient" IsExpanded="True" Margin="1" Background="Transparent">
                <riaClientControls:ExpandableContainer.Title>
                    <TextBlock Text="Client" FontWeight="Bold" />
                </riaClientControls:ExpandableContainer.Title>
                <StackPanel Orientation="Vertical" Margin="16,0,0,0">
                    <riaClientControls:ExpandableContainer x:Name="ecModules" IsExpanded="True" Margin="1" Background="Transparent">
                        <riaClientControls:ExpandableContainer.Title>
                            <TextBlock Text="Modules" FontWeight="Bold" />
                        </riaClientControls:ExpandableContainer.Title>
                        <StackPanel Orientation="Vertical" Margin="16,0,0,0">
                            <ItemsControl x:Name="icModules" Loaded="icModules_Loaded">
                                <ItemsControl.ItemTemplate>
                                    <DataTemplate>
                                        <HyperlinkButton>
                                            <TextBlock Text="{Binding Name}" />
                                        </HyperlinkButton>
                                    </DataTemplate>
                                </ItemsControl.ItemTemplate>
                            </ItemsControl>
                        </StackPanel>
                    </riaClientControls:ExpandableContainer>
                    <riaClientControls:ExpandableContainer x:Name="ecServices" IsExpanded="True" Margin="1" Background="Transparent">
                        <riaClientControls:ExpandableContainer.Title>
                            <TextBlock Text="Services" FontWeight="Bold" />
                        </riaClientControls:ExpandableContainer.Title>
                        <StackPanel Orientation="Vertical" Margin="16,0,0,0">
                            <ItemsControl x:Name="icServices" Loaded="icServices_Loaded">
                                <ItemsControl.ItemTemplate>
                                    <DataTemplate>
                                        <HyperlinkButton>
                                            <TextBlock Text="{Binding Name}" />
                                        </HyperlinkButton>
                                    </DataTemplate>
                                </ItemsControl.ItemTemplate>
                            </ItemsControl>
                        </StackPanel>
                    </riaClientControls:ExpandableContainer>
                </StackPanel>
            </riaClientControls:ExpandableContainer>
        </StackPanel>
    </ScrollViewer>
</provibeLibraryBase:UserControlBase>